package pojo.asset.assetMaintenance;

/**
 * @author HGD
 * @date 2022/10/10 23:34
 */
public enum AssetMaintenanceResult {
    /**
     *
     */

    CREATE(0, "创建"),
    OPERATIONS_SUCCESS(1, "运维维修成功，维修结束"),
    OPERATIONS_FAILED(2, "运维维修失败"),
    ASSET_MANAGER_AGREE(3, "资产管理员判定资产在保修期内，联系供应商维修，维修结束"),
    ASSET_MANAGER_FAILED(4, "资产管理员判定资产不在保修期内，不维修"),
    MAINTENANCE_BY_SUPPLY(5, "资产管理员判定资产不在保修期内，供应商维修"),
    FAILED(6, "失败");

    private final int key;
    private final String value;

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    AssetMaintenanceResult(int key, String value) {
        this.key = key;
        this.value = value;
    }
}
